.code-wrapper {

    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
    border: 1px solid #2d2d2d;

    .code-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 16px;
        background: #2d2d2d;
        border-bottom: 1px solid #3d3d3d;
        height: 36px;

        .code-language {
            color: #86909c;
            font-size: 12px;
            font-weight: 500;
            text-transform: uppercase;
        }

        .copy-button {
            background: transparent;
            border: none;
            color: #86909c;
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            display: flex;
            align-items: center;
            gap: 4px;
            transition: all 0.2s ease;
          
            &:hover {
              background: rgba(255, 255, 255, 0.1);
              color: #ffffff;
            }
          
            i {
                font-size: 14px;
                line-height: 1;
            }
        }
    }
    
    .code-content {
        overflow-x: auto;
        background: #1e1e1e;
        padding: 16px;

        /* 自定义滚动条样式 */
        &::-webkit-scrollbar {
            height: 8px;
        }

        &::-webkit-scrollbar-track {
            background: transparent;
        }

        &::-webkit-scrollbar-thumb {
            background: #4e5969;
            border-radius: 4px;
        }

        &::-webkit-scrollbar-thumb:hover {
            background: #86909c;
        }

        pre {
            margin: 0 !important;
            padding: 0 !important;
            background: transparent !important;
            font-family: 'Fira Code', monospace !important;
        }

        code {
            font-family: 'Fira Code', monospace !important;
            font-size: 14px !important;
            line-height: 1.5 !important;
            color: #d4d4d4 !important;
        }
    }
}